package com.ruoyi.system.domain.vo;

import com.ruoyi.system.api.model.UserShop;

public class ShopVo {

    private Long shopId;

    private String shopName;

    private String shopCode;

    private Long companyId;

    private String companyName;

    private String mnappid;

    private String secret;

    private String address;

    private String contact;



    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopCode() {
        return shopCode;
    }

    public void setShopCode(String shopCode) {
        this.shopCode = shopCode;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
    public void setMnappid(String mnappid)
    {
        this.mnappid = mnappid;
    }

    public String getMnappid()
    {
        return mnappid;
    }
    public void setSecret(String secret)
    {
        this.secret = secret;
    }

    public String getSecret()
    {
        return secret;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }
    public UserShop toUserShop(){
        UserShop us = new UserShop();
        us.setShopId(this.shopId);
        us.setMnappid(this.mnappid);
        us.setSecret(this.secret);
        us.setShopCode(this.shopCode);
        us.setShopName(this.shopName);
        us.setAddress(this.address);
        us.setCompanyName(this.companyName);
        us.setCompanyId(this.companyId);
        us.setContact(this.contact);
        return us;
    }
}
